<template>
  <div class="tags-list-container">
    <div class="index_article-container">
      <b class="index_title">
        <svg-icon icon="tags"></svg-icon>
        标签列表
      </b>
    </div>
    <div class="animated animate__slideInRight tags-container">
      <div class="tags-item">
        <router-link to="/tags/article-list/1">
          <span>默认标签</span>
          <em>2</em>
        </router-link>
      </div>

      <div class="tags-item">
        <router-link to="/tags/article-list/1">
          <span>默认标签</span>
          <em>2</em>
        </router-link>
      </div>

      <div class="tags-item">
        <router-link to="/tags/article-list/1">
          <span>默认标签</span>
          <em>2</em>
        </router-link>
      </div>

      <div class="tags-item">
        <router-link to="/tags/article-list/1">
          <span>默认标签</span>
          <em>2</em>
        </router-link>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'TagsList',

  data () {
    return {

    }
  },

  mounted () {

  },

  methods: {

  }
}
</script>

<style lang="scss" scoped>
.index_article-container {
  padding-bottom: 10px;
}
.tags-container {
  margin-top: 0.625rem;
  overflow: auto;

  .tags-item {
    float: left;
    border-radius: 3px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 14px;

    a {
      display: block;
      padding: 0 6px;
      height: 24px;
      line-height: 24px;
      font-size: 0;
      color: #606266;

      span {
        display: inline-block;
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 14px;
      }

      em {
        display: inline-block;
        padding-left: 5px;
        vertical-align: top;
        font-size: 14px;
        font-style: normal;
      }
    }
  }
}
</style>
